package isssr.dao.src;

public abstract class DAOFactory {

	public static DAOFactory getDAOFactory(DAOFactoryType factoryType)
	{
		switch(factoryType)
		{
		case HIBERNATE: 
			return new HibernateDAOFactory();
		default :
			return null;
		}
	}
	
	public static DAOFactory getDAOFactory()
	{
		return getDAOFactory(DAOFactoryType.HIBERNATE);
	}
	
	public abstract UserDAO getUserDAO();
	public abstract RoleDAO getRoleDAO();
	public abstract OrganizationalGoalDAO getOrganizationalGoalDAO();
	
	
	
}
